<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>
	<!-- CSS -->
	<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,100,300,500">
	<link rel="stylesheet" href="/static/login/bootstrap/css/bootstrap.min.css">
	<link rel="stylesheet" href="/static/login/font-awesome/css/font-awesome.min.css">
	<link rel="stylesheet" href="/static/login/css/form-elements.css">
	<link rel="stylesheet" href="/static/login/css/style.css">
	<!--[if lt IE 9]>
	<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
	<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
	<![endif]-->
	<!-- Favicon and touch icons -->
	<link rel="shortcut icon" href="/static/login/ico/favicon.png">
	<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/static/login/ico/apple-touch-icon-144-precomposed.png">
	<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/static/login/ico/apple-touch-icon-114-precomposed.png">
	<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/static/login/ico/apple-touch-icon-72-precomposed.png">
	<link rel="apple-touch-icon-precomposed" href="/static/login/ico/apple-touch-icon-57-precomposed.png">
</head>
<body>
<div class="top-content">

	<div class="inner-bg">
		<div class="container">
			<div class="row">
				<div class="col-sm-8 col-sm-offset-2 text">
					<h1><strong>欢迎</strong>登录</h1>
				</div>
			</div>
			<div class="row">
				<div class="col-sm-6 col-sm-offset-3 form-box">
					<div class="form-top">
						<div class="form-top-left">
							<h3>登录网站</h3>
							<p>输入您的用户名和密码登录：</p>
						</div>
						<div class="form-top-right">
							<i class="fa fa-lock"></i>
						</div>
					</div>
					<div class="form-bottom">
						<form role="form" action="/doLogin" method="post" class="login-form">
							<div class="form-group">
								<label class="sr-only" for="form-username">Username</label>
								<input type="text" name="userName" placeholder="用户名..." class="form-username form-control" id="form-username">
							</div>
							<div class="form-group">
								<label class="sr-only" for="form-password">Password</label>
								<input type="password" name="password" placeholder="密码..." class="form-password form-control" id="form-password">
							</div>
							<div style="color: red;margin-bottom: 5px">$!errorMsg</div>
							<button type="submit" class="btn login" style="background: #3c763d;">登录</button>
						</form>
						<button style="margin-top: 10px;width: 100%" class="btn register">注册</button>
					</div>
				</div>
			</div>
		</div>
	</div>

</div>


<!-- Javascript -->
<script src="/static/login/js/jquery-1.11.1.min.js"></script>
<script src="/static/login/bootstrap/js/bootstrap.min.js"></script>
<script src="/static/login/js/jquery.backstretch.min.js"></script>
<script src="/static/login/js/indexScripts.js"></script>

<!--[if lt IE 10]>
<script src="/static/login/js/placeholder.js"></script>
<![endif]-->
</body>
<script>
//	跳转注册页面
$(".register").on("click",function () {
    location.href = "/view/register.html";
});

</script>
</html>